#define _CRT_SECURE_NO_WARNINGS 1
#include "twj.h"
int main()
{
	DL* phead = InitList();
	DLPushBack(phead, 1);
	DLPushBack(phead, 2);
	DLPushBack(phead, 3);
	DLPushBack(phead, 4);
	DLPushBack(phead, 5);
	DLPrint(phead);
	DLPopBack(phead);
	DLPrint(phead);
	DLPushFront(phead, 12);
	DLPrint(phead);
	DLPopfront(phead);
	DLPrint(phead);
	DLInsert(DLFind(phead, 3), 30);
	DLPrint(phead);
	DLErase(DLFind(phead, 30));
	DLPrint(phead);
	DLDestory(phead);
	phead = NULL;
}